Update copilot instructions, prompts, and skills#2212
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repo’s Copilot skills/prompts by adding redirect-management automation (new skills + PowerShell scripts) and modernizing several snippet-related prompts, while removing older/temporary prompt/agent assets.
Changes:
- Added
redirect-articleandsort-redirectsskills, including PowerShell scripts to create and sort Open Publishing redirect entries. - Updated multiple prompts (snippet migration/push/upgrade and others) to reflect newer conventions and model selections.
- Removed obsolete prompt/agent files (including the old redirect prompt, a temp prompt, and the docwriter agent).
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/skills/sort-redirects/SKILL.md | Documents a new skill for sorting Open Publishing redirect JSON entries. |
| .github/skills/sort-redirects/scripts/sort-redirects.ps1 | Implements redirect sorting for redirection JSON files. |
| .github/skills/redirect-article/SKILL.md | Documents a new skill for deleting an article and adding a redirect entry. |
| .github/skills/redirect-article/scripts/create-redirect-entry.ps1 | Implements insertion of a redirect entry into a redirection JSON file. |
| .github/prompts/ValidateTemplate.prompt.md | Updates the model selection used for template validation. |
| .github/prompts/temp.prompt.md | Removes a temporary/one-off prompt file. |
| .github/prompts/Snippets.Upgrade.prompt.md | Updates snippet upgrade guidance (structure, creation via dotnet CLI, etc.). |
| .github/prompts/Snippets.Push.prompt.md | Updates guidance for extracting inline snippets into project-based snippet folders. |
| .github/prompts/Snippets.Migrate.prompt.md | Updates guidance for migrating legacy ~/samples/snippets references to ./snippets/. |
| .github/prompts/RefreshLinks.prompt.md | Adjusts frontmatter metadata (adds a name field) and keeps prompt behavior. |
| .github/prompts/Redirect.Article.prompt.md | Removes the older redirect prompt (superseded by skill-based workflow). |
| .github/prompts/Merge.Article.prompt.md | Adds a new prompt for merging article content and optionally invoking redirect skill afterward. |
| .github/prompts/Editing.FullPass.prompt.md | Updates model/agent selection and simplifies the editing prompt instructions. |
| .github/agents/docwriter.agent.md | Removes the docwriter agent definition. |
| .github/agents/doceditor.agent.md | Expands doceditor to cover both writing and editing modes and adds repo-specific guidance. |
gewarren
approved these changes
Mar 30, 2026
f4077bd to
909c1f5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2215
Internal previews
Toggle expand/collapse